package com.idp.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.idp.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品类别实体类
 * @author King
 */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName("demo_goods_category")
public class GoodsCategoryEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/** id */
	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private String id;
	/** 类别名称 */
    @TableField("category_name")
	private String categoryName;

}
